package com.timebank.score.pojo.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.timebank.common.core.web.pojo.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.time.LocalDateTime;
import java.util.Map;

/**
 * 抽奖记录
 * @author shiliuyinzhen
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class LotteryLog{

    /** 抽奖记录id */
    private Long id;

    /** 用户名 */
    private Long userId;

    /** 奖品Id */
    private Long prizeId;

    /** 奖品名 */
    private String prizeName;

    /** 抽取时间  */
    private LocalDateTime drawTime;

    /** 删除标志 */
    private Integer delFlag;

    /** 备注 */
    private String remark;

    /** 请求参数 */
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private Map<String, Object> params;
}
